package com.example.takeaway.websocket.message;

import lombok.Data;

/**
 * @author 邢晨旭
 * {@code @date} 2023/10/27
 */
@Data
public class CloseMessage extends AbstractMessage {
    private String reason;
    public CloseMessage(String reason) {
        this.type = MessageType.CLOSE.getType();
        this.reason = reason;
    }
}
